/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.sale.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.dian.common.vo.BaseVO;
import lombok.Data;
import java.util.Date;
import java.util.List;
/**
 * 销售发货单导出主类VO
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-06-21 16:00:09
 */
@Data
@ExcelTarget("deliverHeadExportVO")
public class DeliverHeadExportVO  extends BaseVO {
	private static final long serialVersionUID = 1L;

    /**
	 * 单据编码
	 */
    @Excel(name = "单据编码",needMerge = true)
    private String deliverNo;




    /**
	 * 单据日期;format:yyyy-MM-dd;readonly
	 */
    @Excel(name = "单据日期", exportFormat = "yyyy-MM-dd",needMerge = true)
    private Date deliverDate;




    /**
	 * 预订单编码;来源于sale_prob_head.prob_no
	 */
    @Excel(name = "预订单编码",needMerge = true)
    private String probNo;




    /**
	 * 销售订单编码;来源于sale_order_head.order_no
	 */
    @Excel(name = "销售订单编码",needMerge = true)
    private String orderNo;




    /**
	 * 门店id;来源于base_store.store_name
	 */
    @Excel(name = "门店名称",needMerge = true)
    private String storeName;




    /**
	 * 仓库编码;来源于Base_Warehouse.Warehouse_Code;readonly
	 */
    @Excel(name = "仓库编码",needMerge = true)
    private String warehouseCode;




    /**
	 * 仓库名称;来源于Base_Warehouse.Warehouse_Name
	 */
    @Excel(name = "仓库名称",needMerge = true)
    private String warehouseName;




    /**
	 * 客户编码;来源于base_customer.customer_code
	 */
    @Excel(name = "客户编码",needMerge = true)
    private String customerCode;




    /**
	 * 客户名称;来源于base_customer.customer_name;readonly
	 */
    @Excel(name = "客户名称",needMerge = true)
    private String customerName;




    /**
	 * 客户联系人;来源于base_customer.customer_contact_name;readonly
	 */
    @Excel(name = "客户联系人",needMerge = true)
    private String customerContactName;




    /**
	 * 客户电话;来源于base_customer.customer_tel;readonly
	 */
    @Excel(name = "客户电话",needMerge = true)
    private String customerContactTel;




    /**
	 * 送货地址;来源于base_customer.customer_add;readonly
	 */
    @Excel(name = "送货地址",needMerge = true)
    private String customerContactAdd;




    /**
	 * 单据类型:1-销售发货单-SEND;2-销售补货-REPAIR-;3-销售退货-RETURN
	 */
    @Excel(name = "单据类型", replace = {"销售发货单_1","销售补货_2","销售退货_3"})
    private Integer deliverType;




    /**
	 * 订单状态:1-未审核-WAITCHECK;2-已审核-AUDITED-;99-已作废-INVALID;readonly
	 */
    @Excel(name = "订单状态", replace = {"未审核_1","已审核_2","已作废_99"})
    private Integer deliverState;




    /**
	 * 审核人;readonly
	 */
    @Excel(name = "审核人",needMerge = true)
    private String checkUserName;




    /**
	 * 审核时间;format:yyyy-MM-dd HH:mm:ss;readonly
	 */
    @Excel(name = "审核时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date checkDate;




    /**
	 * 备注
	 */
    @Excel(name = "备注",needMerge = true)
    private String remark;




    /**
	 * 创建人
	 */
    @Excel(name = "创建人",needMerge = true)
    private String createUserName;




    /**
	 * 创建时间
	 */
    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date createTime;




    /**
	 * 修改人
	 */
    @Excel(name = "修改人",needMerge = true)
    private String updateUserName;




    /**
	 * 修改时间
	 */
    @Excel(name = "修改时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date updateTime;




    /**
     * 销售发货单明细
     */
    @ExcelCollection(name = "销售发货单明细")
    private List<DeliverLineExportVO> deliverLineExportVOList;
}
